package com.ruoyi.life.service;

import com.ruoyi.life.domain.FeApartmentCancel;
import com.ruoyi.life.domain.FeApartmentCancelDetailGroup;

import java.util.List;

/**
 * 公寓退租记录Service接口
 * 
 * @author cjie
 * @date 2022-09-20
 */
public interface IFeApartmentCancelService {
    /**
     * 查询公寓退租记录
     * 
     * @param id 公寓退租记录ID
     * @return 公寓退租记录
     */
     FeApartmentCancel selectFeApartmentCancelById(String id);

    /**
     * 查询公寓退租记录列表
     * 
     * @param feApartmentCancel 公寓退租记录
     * @return 公寓退租记录集合
     */
     List<FeApartmentCancel> selectFeApartmentCancelList(FeApartmentCancel feApartmentCancel);

    /**
     * 新增公寓退租记录
     * 
     * @param feApartmentCancel 公寓退租记录
     * @return 结果
     */
     int insertFeApartmentCancel(FeApartmentCancel feApartmentCancel);

    /**
     * 修改公寓退租记录
     * 
     * @param feApartmentCancel 公寓退租记录
     * @return 结果
     */
     int updateFeApartmentCancel(FeApartmentCancel feApartmentCancel);

    /**
     * 批量删除公寓退租记录
     * 
     * @param ids 需要删除的公寓退租记录ID
     * @return 结果
     */
     int deleteFeApartmentCancelByIds(String[] ids);

    /**
     * 删除公寓退租记录信息
     * 
     * @param id 公寓退租记录ID
     * @return 结果
     */
     int deleteFeApartmentCancelById(String id);

    FeApartmentCancel selectFeApartmentCancelVOById(String id);

    List<FeApartmentCancelDetailGroup> selectLeaseDetailGroupVOById(String enteripseId);
}
